package com.story.modular.app.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.story.common.persistence.model.VipType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface VipTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VipType record);

    int insertSelective(VipType record);

    VipType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VipType record);

    int updateByPrimaryKey(VipType record);

    List<Map<String,Object>> getList(@Param("page") Page<VipType> page);

    List<VipType> appList();
    Integer selectByName(@Param("name") String name);
    VipType get7Days();
}